package DBLayer;

import ModelLayer.*;

import java.util.ArrayList;

public interface IfDbProduct
{
    public ArrayList<Product> getAllProducts(boolean retriveAssociation);

    public Product findProductByName(int productNr, boolean retriveAssociation);

    public int insertProduct(Product product) throws Exception;

    public int updateProduct(Product product);
    
    public int deleteProduct(int productNr);
}